﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Simple.Repository.Migrations
{
    public partial class _51 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "ChildrenName",
                table: "MCheck_Record",
                type: "longtext",
                nullable: true,
                comment: "学生姓名")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.AddColumn<Guid>(
                name: "ClassesId",
                table: "MCheck_Record",
                type: "char(36)",
                nullable: true,
                comment: "所在班级",
                collation: "ascii_general_ci");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "ChildrenName",
                table: "MCheck_Record");

            migrationBuilder.DropColumn(
                name: "ClassesId",
                table: "MCheck_Record");
        }
    }
}
